﻿<?xml version="1.0" encoding="utf-8" ?>
<Rules FriendlyName="BizTalkCop">
  <Rule TypeName="OrchestrationNamesShouldBePascalCased" Category="BizTalkCop.NamingConventions" CheckId="BC0001">
    <Name>OrchestrationNamesShouldBePascalCased</Name>
    <Description>OrchestrationNamesShouldBePascalCased</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Case">Orchestration names should be Pascal cased. Replace: '{0}' with: '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="MapNamesShouldIndicateSourceAndDestinationSchemas" Category="BizTalkCop.NamingConventions" CheckId="BC0002">
    <Name>MapNamesShouldIndicateSourceAndDestinationSchemas</Name>
    <Description>MapNamesShouldIndicateSourceAndDestinationSchemas</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Format">Map names should have the format "SourceSchema{0}DestinationSchema"</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="SchemaNamesShouldIndicateFormat" Category="BizTalkCop.NamingConventions" CheckId="BC0003">
    <Name>SchemaNamesShouldIndicateFormat</Name>
    <Description>SchemaNamesShouldIndicateFormat</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Standard">Schema names should end with the data format. Format: '{0}' is unknown</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="PropertySchemaNamesShouldHaveCorrectSuffix" Category="BizTalkCop.NamingConventions" CheckId="BC0004">
    <Name>PropertySchemaNamesShouldHaveCorrectSuffix</Name>
    <Description>PropertySchemaNamesShouldHaveCorrectSuffix</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Suffix">Property Schema names should be suffixed '{0}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="PipelineNamesShouldIndicateDirection" Category="BizTalkCop.NamingConventions" CheckId="BC0005">
    <Name>PipelineNamesShouldIndicateDirection</Name>
    <Description>PipelineNamesShouldIndicateDirection</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Suffix">Pipline names should be suffixed with their direction - end with '{0}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="PortNamesShouldIndicateDirection" Category="BizTalkCop.NamingConventions" CheckId="BC0006">
    <Name>PortNamesShouldIndicateDirection</Name>
    <Description>PortNamesShouldIndicateDirection</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Prefix">Port names should be prefixed with their direction - start '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="ReceiveLocationNamesShouldIndicateTransport" Category="BizTalkCop.NamingConventions" CheckId="BC0007">
    <Name>ReceiveLocationNamesShouldIndicateTransport</Name>
    <Description>ReceiveLocationNamesShouldIndicateTransport</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Suffix">Receive Location names should be suffixed with their transport type - end '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="ReceiveLocationNamesShouldIndicatePortName" Category="BizTalkCop.NamingConventions" CheckId="BC0008">
    <Name>ReceiveLocationNamesShouldIndicatePortName</Name>
    <Description>ReceiveLocationNamesShouldIndicatePortName</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Prefix">Receive Location names should be prefixed with their Receive Port name - start '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="SendPortGroupsShouldHaveCorrectPrefix" Category="BizTalkCop.NamingConventions" CheckId="BC0009">
    <Name>SendPortGroupsShouldHaveCorrectPrefix</Name>
    <Description>SendPortGroupsShouldHaveCorrectPrefix</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Prefix">Send Port Groups should have a consistent prefix - start '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="OrchestrationShapesShouldHaveCorrectPrefix" Category="BizTalkCop.NamingConventions" CheckId="BC0010">
    <Name>OrchestrationShapesShouldHaveCorrectPrefix</Name>
    <Description>OrchestrationShapesShouldHaveCorrectPrefix</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Prefix">Orchestration Shapes should have the correct prefix - start '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="OrchestrationTypesShouldHaveCorrectSuffix" Category="BizTalkCop.NamingConventions" CheckId="BC0011">
    <Name>OrchestrationTypesShouldHaveCorrectSuffix</Name>
    <Description>OrchestrationTypesShouldHaveCorrectSuffix</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Suffix">Orchestration Types should have the correct suffix - end '{0}' with '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="ArtifactsShouldBeDeclaredInTheCorrectModule" Category="BizTalkCop.NamingConventions" CheckId="BC0012">
    <Name>ArtifactsShouldBeDeclaredInTheCorrectModule</Name>
    <Description>ArtifactsShouldBeDeclaredInTheCorrectModule</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Suffix">Artifacts should be declared in modules with the correct suffix - consider module name '{0}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="OrchestrationShapesShouldHaveCorrectName" Category="BizTalkCop.NamingConventions" CheckId="BC0013">
    <Name>OrchestrationShapesShouldHaveCorrectName</Name>
    <Description>OrchestrationShapesShouldHaveCorrectName</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Name">Orchestration shapes should be correctly named - replace '{0}' with '{1}'</Resolution>
    <Resolution Name="Decision">Orchestration shapes should be correctly named - Decision '{0}' should have a branched named '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="ExpressionShapesShouldBePascalCased" Category="BizTalkCop.NamingConventions" CheckId="BC0014">
    <Name>ExpressionShapesShouldBePascalCased</Name>
    <Description>ExpressionShapesShouldBePascalCased</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Case">Expression shapes should be Pascal cased. Replace: '{0}' with: '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="OrchestrationMembersShouldBeCamelCased" Category="BizTalkCop.NamingConventions" CheckId="BC0015">
    <Name>OrchestrationMembersShouldBeCamelCased</Name>
    <Description>OrchestrationMembersShouldBeCamelCased</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Case">Orchestration members should be Camel cased. Replace {0} name: '{1}' with: '{2}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="OrchestrationTypesShouldBePascalCased" Category="BizTalkCop.NamingConventions" CheckId="BC0016">
    <Name>OrchestrationTypesShouldBePascalCased</Name>
    <Description>OrchestrationTypesShouldBePascalCased</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Case">Orchestration types should be Pascal cased. Replace {0} name: '{1}' with: '{2}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="SchemaNamesShouldIndicateRootNode" Category="BizTalkCop.NamingConventions" CheckId="BC0017">
    <Name>SchemaNamesShouldIndicateRootNode</Name>
    <Description>SchemaNamesShouldIndicateRootNode</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="RootNode">Schema names should begin with the root node. Start: '{0}' with: '{1}'</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
  <Rule TypeName="ApplicationConfig" Category="BizTalkCop.NamingConventions" CheckId="BC0018">
    <Name>ApplicationConfig</Name>
    <Description>ApplicationConfig</Description>
    <Url>http://www.codeplex.com/BizTalkCop</Url>
    <Resolution Name="Configuration">Specify BizTalk applications to check in the Settings for this rule</Resolution>
    <MessageLevel Certainty="95">Error</MessageLevel>
    <FixCategories>NonBreaking</FixCategories>
    <Email></Email>
    <Owner></Owner>
  </Rule>
</Rules>





